#include "precompile.h"
#include "base_util.h"

_SSL_BEGIN
_SSBASEL_BEGIN

void* align_2byte(void *ptr)
{
	unsigned long l = (unsigned long)ptr;
	l++;
	l>>=1;
	l<<=1;
	return (void*)l;
}

void* align_4byte(void *ptr)
{
	unsigned long l = (unsigned long)ptr;
	l+=0x11;
	l>>=2;
	l<<=2;
	return (void*)l;
}



_SSBASEL_END
_SSL_END
